<script setup lang="ts">
import { useRoute } from 'vue-router';
import { computed } from 'vue';

const route = useRoute();
const isLoginOrRegisterPage = computed(() => route.path === '/login' || route.path === '/register');
import HeadBar from './components/bar/HeadBar.vue';
</script>

<template>
  <div id="app">
    <HeadBar v-if="!isLoginOrRegisterPage"></HeadBar>
    <router-view />
  </div>
</template>

<style scoped lang="less">

</style>
